﻿using System;
using System.Xml.Serialization;
using PortalWeb.Aviation.Core.Entity;
using PortalWeb.Common;

namespace PortalWeb.Flight.Core.Entity
{
    public class PolicyBase : IXmlObject
    {
        /// <summary>
        /// 票面价格
        /// </summary>
        [XmlElement("ticketprice")]
        public decimal CabinPrice { get; set; }

        /// <summary>
        /// 税费
        /// </summary>
        [XmlElement("totaltax")]
        public decimal TotalTax { get; set; }

        /// <summary>
        /// 支付价
        /// </summary>
        [XmlElement("payprice")]
        public decimal PayPrice { get; set; }

        /// <summary>
        /// 返点
        /// </summary>
        [XmlElement("policynum")]
        public decimal PolicyNum { get; set; }

        /// <summary>
        /// 航程信息
        /// </summary>
        public FlightBase FlightInfo { get; set; }

        public System.Xml.Linq.XElement ExportXml()
        {
            throw new NotImplementedException();
        }

        public void ImportXml(System.Xml.Linq.XElement xml)
        {
            throw new NotImplementedException();
        }

        public void ImportXml(string xml)
        {
            throw new NotImplementedException();
        }
    }
}
